package com.runa.monitor.platinterface.netservice.equipment.dtu;

import com.runa.monitor.comm.dto.Node;
import com.runa.monitor.platinterface.backwork.function.TaskFunction;
import com.runa.monitor.platinterface.netservice.equipment.dtu.point.ModbusPoints;
import com.runa.rccprotocol.dto.equdata.EquData;
import lombok.extern.slf4j.Slf4j;
import java.util.List;

/**
 * 2024/8/23 10:30
 * zhangYB
 */
@Slf4j
public class WirelessDtuDriver extends ModbusDriver {


    public WirelessDtuDriver(String serial, Integer timeout, ModbusPoints points) {
        super(serial, timeout, points);
    }

    @Override
    public void readNodeEqu(List<Node> nodes, TaskFunction function, EquData.EquDataType type) {
        for (Node node : nodes) {
            readPoints(node, function);
        }
    }

    public void readPoints(Node node, TaskFunction function) {

    }

    public void readPoints(Integer slaveId, TaskFunction function) {
    }



}
